<%@ page import="quanlythuvien.LoaiSach" %>

<div class="fieldcontain ${hasErrors(bean: loaiSachInstance, field: 'tenLoaiSach', 'error')} required">
	<label for="tenLoaiSach">
		<g:message code="loaiSach.tenLoaiSach.label" default="Tên loại sách" />
	</label>
	<g:textField name="tenLoaiSach" value="${loaiSachInstance?.tenLoaiSach}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: loaiSachInstance, field: 'tinhTrang', 'error')} ">
	<label for="tinhTrang">
		<g:message code="loaiSach.tinhTrang.label" default="Tình trạng" />
		
	</label>
	<g:field type="number" name="tinhTrang" value="${loaiSachInstance?.tinhTrang}"/>
</div>



